﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace System.Models.Models
{
    /// <summary>
    /// 停车场信息表
    /// </summary>
    [Table("T_Parking_Lot")]
    public class ParkingLot:BaseEntity
    {
        /// <summary>
        /// 车位编号
        /// </summary>
        [Required,Column(TypeName ="varchar"),StringLength(100)]
        public string ParkingSpaceNumber { get; set; }
        /// <summary>
        /// 位置
        /// </summary>
        [Required, Column(TypeName = "varchar"), StringLength(255)]
        public string ParkinglLocation { get; set; }
    }
}
